import { createSSRApp } from 'vue'
import App from './App.vue'
import pinia from './store/pinia.js'
import uView from '@/uni_modules/vk-uview-ui/index.js'
import router from './router/index.js'

export function createApp() {
  const app = createSSRApp(App)
  app.use(pinia)
  app.use(uView)
  app.use(router)
  return {
    app
  }
}
